var url = location.search; //获取url中"?"符后的字串
var str = '';
if (url.indexOf("?") != -1) {
    str = url.substr(1);
    str = str.split("=");
    str = str[1];
}
$.ajax({
    url: 'http://192.168.0.127:8080/kaa/orderDetail?orderno='+str+'',
    type: 'GET',
    success: function (res) {
        if(res.status == 200){
           console.log(res)
        }
    },
    error: function (err) {
        console.log(err)
    }
});